import request from '@/utils/request'

// 查询档案转出列表
export function listTransferOut(query) {
  return request({
    url: '/business/TransferOut/list',
    method: 'get',
    params: query
  })
}
export function listTransferOut1(query) {
  return request({
    url: '/business/TransferOut/list1',
    method: 'get',
    params: query
  })
}

// 查询档案转出详细
export function getTransferOut(id) {
  return request({
    url: '/business/TransferOut/' + id,
    method: 'get'
  })
}

// 新增档案转出
export function addTransferOut(data) {
  return request({
    url: '/business/TransferOut',
    method: 'post',
    data: data
  })
}

// 修改档案转出
export function updateTransferOut(data) {
  return request({
    url: '/business/TransferOut',
    method: 'put',
    data: data
  })
}

// 删除档案转出
export function delTransferOut(id) {
  return request({
    url: '/business/TransferOut/' + id,
    method: 'delete'
  })
}
